<%@page import="java.util.HashMap" errorPage="errorpage.jsp"%>
<%
	if (session != null) {
		Object user = session.getAttribute("user");
		if (user != null) {
			session.invalidate();
			request.getSession();
			response.sendRedirect("login.jsp");
		}else{
			response.sendRedirect("login.jsp");
		}
	}
	
%>
